package com.arron.myhash;

/**
 * @Classname Node
 * @Date 2020/9/4 0:14
 * @Created by 刘
 *
 * 模拟node节点
 */
public class Node {
    private Object item;
    private Node next;

    public Node(Object item, Node next) {
        this.item = item;
        this.next = next;
    }

    public static void main(String[] args) {
        Node node = new Node(new Object(), null);
        for (int i = 0; i < 4; i++) {
            node = new Node(new Object(), node);
        }
        System.out.println(node);
    }

}
